package com.codefox.controller;

import javax.servlet.http.HttpServletRequest;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class JSessionIdController {
	

	@ResponseBody
	@RequestMapping(value="getSessionId")
	public String getJSessionId(HttpServletRequest
			request) {
		return request.getRequestedSessionId();
	}
	


}
